home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1997 January / macformat46.iso / Shareware Plus / Developers / Library / Grant's CGI Framework / Grant's CGI Framework / grantscgi / Interface / DialogFunc.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-09-20  |  815 b   |  37 lines

  1. #pragma once
  2. /*****
  3.  *
  4.  *    DialogFunc.h
  5.  *
  6.  *    This is a support file for "Grant's CGI Framework".
  7.  *    Please see the license agreement that accompanies the distribution package
  8.  *    for licensing details.
  9.  *
  10.  *    Copyright ©1995,1996 by Grant Neufeld
  11.  *    grant@acm.com
  12.  *    http://arpp.carleton.ca/cgi/framework/
  13.  *
  14.  *****/
  15.  
  16. #include "MyConfiguration.h"
  17. #if kCompileWithForeground
  18.  
  19.  
  20. /***  CONSTANT DECLARATIONS  ***/
  21.  
  22. /* used in all dialogs: button 1 is OK. Always set the default button to 1 */
  23. #define kDefaultButtonID        1
  24. #define kDefaultButtonOutline    2
  25. #define kCancelButtonID            3
  26.  
  27.  
  28. /***  FUNCTION PROTOTYPES  ***/
  29.  
  30. pascal void        DialogDefaultButtonOutline        ( DialogPtr, short );
  31. pascal Boolean    defaultAlert1ButtonEventFilter    ( DialogPtr, EventRecord *, short * );
  32.  
  33.  
  34. #endif /* kCompileWithForeground */
  35.  
  36. /***** EOF *****/
  37.